/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cc.altius.dao;

import cc.altius.model.Vendor;
import cc.altius.model.VendorDetail;
import cc.altius.model.VendorSubtype;
import java.util.List;

/**
 *
 * @author jitendra
 */
public interface VendorDao {

    public List<VendorDetail> getVendorDetailList();

    public List<VendorSubtype> getVendorSubtypeList();

    public int addVendorDetail(VendorDetail vendorDetail);

    public int addVendor(Vendor vendor);

    public List<Vendor> getVendorList(int centerId, int vendorSubtypeId);

    public Vendor getVendorById(int vendorId);

    public int updateVendor(Vendor vendor);
    
    public VendorDetail getVendorDetailById(int vendorDetailId);
    
    public int updateVendorDetail(VendorDetail vendorDetail);
    
    public List<VendorSubtype> getVendorSubListFromType(String vendortype);
}
